<template>
    <div class="choice_container">
        <div class="choice_box">
            <div class ="btns">
                <el-button plain @click="chooseEmp">注册成为求职者</el-button>
            </div>
            <div class ="btns">
                <el-button type="primary" plain @click="chooseHR">注册成为HR</el-button>
            </div>
            <div class ="btns">
                <el-button type="success" plain @click="chooseCom">注册成为公司管理员</el-button>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {}
    },
    methods: {
        chooseEmp() {
            this.$router.push('/Register_emp');
        },
        chooseHR() {
            this.$router.push('/Register_HR');
        },
        chooseCom() {
            this.$router.push('/Register_com');
        }
    }
};
</script>

<style lang="less" scoped>
.choice_container {
    background-color: #2b4b6b;
    height: 100%;
    background-image: url("../assets/1.jpg");
    background-Repeat:'no-repeat';
}

.choice_box {
    width: 450px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
}

.btns {
    margin-top: 15px;
    margin: auto;
}
</style>
    
